//
//  CategoryView.h
//  MindBox
//
//  Created by MS on 16-1-5.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Category_Name_Model.h"
#import "Category_Goods_Model.h"

@class CategoryView;
@protocol CategoryViewDelegate <NSObject>
/**
 
 *  名称列表点击后代理
 */
-(void)categoryNameViewDidClick:(CategoryView *)categoryView categoryName:(Category_Name *)categoryName index:(NSInteger)index;

/**
 *  商品列表点击后代理
 */
-(void)categoryGoodsViewDidClick:(CategoryView *)categoryView   categoryGoods:(Son_Category *)goods categoryCase:(Category_Case *)category_case index:(NSInteger)index;

@end

@interface CategoryView : UIView

@property (nonatomic,strong) NSArray * category_names;
@property (nonatomic,strong) NSArray * category_goods;

@property (nonatomic,weak) id<CategoryViewDelegate>delegate;

@end
